package com.yfp.device.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yfp.device.domain.dto.ComboLabel;
import com.yfp.device.domain.Combo;
import com.yfp.device.domain.ComboExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;
@Mapper
public interface ComboMapper extends BaseMapper<Combo> {
    long countByExample(ComboExample example);

    int deleteByExample(ComboExample example);

    int deleteByPrimaryKey(String comboId);

    int insert(Combo record);

    int insertSelective(Combo record);

    List<Combo> selectByExample(ComboExample example);

    Combo selectByPrimaryKey(String comboId);

    int updateByExampleSelective(@Param("record") Combo record, @Param("example") ComboExample example);

    int updateByExample(@Param("record") Combo record, @Param("example") ComboExample example);

    int updateByPrimaryKeySelective(Combo record);

    int updateByPrimaryKey(Combo record);

    List<Combo> selectAll();

    List<ComboLabel> findByComboIdsTag(@Param("comboIds") Set<String> comboIds);

    List<Combo> findByComboIdsUrl(@Param("comboIds") Set<String> comboIds);
}